/* 基础样式重置 */
        :root {
            --primary-color: #3498db;
            --primary-dark: #2980b9;
            --secondary-color: #2ecc71;
            --secondary-dark: #27ae60;
            --danger-color: #e74c3c;
            --danger-dark: #c0392b;
            --text-color: #333;
            --text-light: #666;
            --background-color: #f5f7fa;
            --card-bg: #fff;
            --border-color: #e5e7eb;
            --success-color: #27ae60;
            --error-color: #c0392b;
            --info-color: #2980b9;
            --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
            --shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
            background-color: var(--background-color);
            color: var(--text-color);
            line-height: 1.6;
            padding: 0;
            margin: 0;
            min-height: 100vh;
            background-image: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);
        }

        .container {
            max-width: 900px;
            margin: 0 auto;
            padding: 20px;
        }

        h1 {
            color: #2c3e50;
            text-align: center;
            margin: 20px 0 30px;
            font-weight: 700;
            position: relative;
            padding-bottom: 15px;
            font-size: 28px;
        }

        h1::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 120px;
            height: 4px;
            background-color: var(--primary-color);
            border-radius: 2px;
        }

        .card {
            background-color: var(--card-bg);
            border-radius: 12px;
            box-shadow: var(--shadow);
            padding: 30px;
            margin-bottom: 30px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border: 1px solid var(--border-color);
            overflow: hidden;
        }

        .card:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-hover);
        }

        .form-group {
            margin-bottom: 25px;
        }

        label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: #444;
        }

        .input-field {
            width: 100%;
            padding: 12px 15px;
            font-size: 16px;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
            background-color: #fff;
        }

        .input-field:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
        }

        select.input-field {
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 15px center;
            padding-right: 40px;
        }

        input[type="file"].input-field {
            padding: 10px 15px;
            border: 1px dashed #ddd;
        }

        /* 音量滑块样式修改 */
        .volume-container {
            position: relative;
            width: 100%;
            height: 10px;
            background-color: #e0e0e0;
            border-radius: 5px;
            padding: 2px 0;
        }

        .volume-fill {
            position: absolute;
            height: 100%;
            background-color: #3498db;
            border-radius: 3px;
            transition: width 0.15s ease;
        }

        input[type="range"].volume-slider {
            -webkit-appearance: none;
            width: 100%;
            height: 10px;
            background: transparent;
            position: absolute;
            top: 0;
            left: 0;
            margin: 0;
            padding: 0;
            z-index: 2;
        }

        input[type="range"].volume-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 20px;
            height: 20px;
            background: #3498db;
            border-radius: 50%;
            cursor: pointer;
            transition: background 0.3s ease, transform 0.15s ease;
            border: 2px solid white;
            box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
        }

        input[type="range"].volume-slider::-webkit-slider-thumb:hover {
            background: #2980b9;
            transform: scale(1.1);
        }

        input[type="range"].volume-slider::-moz-range-thumb {
            width: 20px;
            height: 20px;
            background: #3498db;
            border-radius: 50%;
            cursor: pointer;
            transition: background 0.3s ease, transform 0.15s ease;
            border: 2px solid white;
            box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
        }

        input[type="range"].volume-slider::-moz-range-thumb:hover {
            background: #2980b9;
            transform: scale(1.1);
        }

        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            display: none;
            z-index: 1000;
        }

        .modal {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background-color: var(--card-bg);
            padding: 30px;
            border-radius: 12px;
            box-shadow: var(--shadow-hover);
            display: none;
            z-index: 1001;
            min-width: 600px;
        }

        .button {
            display: inline-block;
            padding: 12px 24px;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            background-color: var(--primary-color);
            color: white;
            border: none;
            border-radius: 8px;
            transition: all 0.3s ease;
            text-align: center;
            box-shadow: 0 2px 5px rgba(52, 152, 219, 0.2);
            position: relative;
            overflow: hidden;
        }

        .button:hover {
            background-color: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
        }

        .button:active {
            transform: translateY(0);
            box-shadow: 0 1px 3px rgba(52, 152, 219, 0.3);
        }

        .button.secondary {
            background-color: var(--secondary-color);
        }

        .button.secondary:hover {
            background-color: var(--secondary-dark);
        }

        .button.danger {
            background-color: var(--danger-color);
        }

        .button.danger:hover {
            background-color: var(--danger-dark);
        }

        .button-group {
            display: flex;
            gap: 10px;
            margin-top: 15px;
            flex-wrap: wrap;
        }

        .volume-control {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .volume-value {
            min-width: 40px;
            text-align: center;
            font-weight: 500;
        }

        .status-message {
            margin-top: 10px;
            padding: 8px 12px;
            border-radius: 4px;
            font-size: 14px;
        }

        /* 隐藏空的状态提示 */
        .status-message:empty {
            display: none;
            margin: 0;
            padding: 0;
        }

        .success {
            background-color: rgba(46, 204, 113, 0.1);
            color: #27ae60;
        }

        .error {
            background-color: rgba(231, 76, 60, 0.1);
            color: #c0392b;
        }

        .info {
            background-color: rgba(52, 152, 219, 0.1);
            color: #2980b9;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
            background-color: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        }

        th, td {
            padding: 18px 15px;
            text-align: left;
            border-bottom: 1px solid #eee;
        }

        th {
            background-color: #f8f9fa;
            font-weight: 600;
            color: #2c3e50;
        }

        tr:last-child td {
            border-bottom: none;
        }

        tr:hover {
            background-color: #f9f9f9;
        }

        .section-title {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 25px;
            color: #2c3e50;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .config-path {
            font-size: 14px;
            color: var(--text-light);
            margin-bottom: 15px;
            font-style: italic;
        }

        .feature-block {
            margin-bottom: 35px;
            padding: 25px;
            background-color: #f9fafc;
            border-radius: 8px;
            border-left: 3px solid var(--primary-color);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .feature-block h3 {
            font-size: 18px;
            margin-bottom: 15px;
            color: #2c3e50;
        }

        /* 管理员面板长横线样式 */
        .admin-hr {
            width: 100%;
            height: 3px;
            background-color: var(--primary-color);
            border-radius: 2px;
            margin: 20px 0;
            display: block;
            box-shadow: 0 1px 3px rgba(52, 152, 219, 0.3);
        }

        .feature-block p {
            margin-bottom: 15px;
            color: var(--text-light);
            line-height: 1.6;
        }

        .feature-block .button {
            margin-top: 10px;
        }

        .section-title::before {
            content: '';
            display: block;
            width: 4px;
            height: 22px;
            background-color: var(--primary-color);
            border-radius: 2px;
        }

        .spacer {
            height: 20px;
        }

        .admin-tag {
            background-color: var(--danger-color);
            color: white;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 14px;
            margin-left: 10px;
            font-weight: 500;
        }
        .header-actions {
            display: flex;
            gap: 10px;
        }
        .action-button {
            background-color: var(--primary-color);
            color: white;
            border: none;
            padding: 10px 18px;
            border-radius: 6px;
            cursor: pointer;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            font-size: 14px;
            box-shadow: 0 2px 5px rgba(52, 152, 219, 0.2);
        }
        .action-button:hover {
            background-color: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        .action-button:active {
            transform: translateY(0);
        }
        .action-button.secondary {
            background-color: var(--secondary-color);
        }
        .action-button.secondary:hover {
            background-color: var(--secondary-dark);
        }

        /* 用户管理模态框样式 */
        .modal {
            display: none;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: white;
            padding: 24px;
            border-radius: 12px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            z-index: 1000;
            width: 90%;
            max-width: 500px;
            animation: fadeIn 0.3s ease-in-out;
        }

        .modal h2 {
            color: var(--primary-color);
            margin-top: 0;
            margin-bottom: 20px;
            font-size: 1.5rem;
            border-bottom: 2px solid var(--primary-color);
            padding-bottom: 10px;
        }

        .modal h3 {
            color: var(--text-color);
            margin-top: 20px;
            margin-bottom: 15px;
            font-size: 1.2rem;
        }

        #newUsername {
            padding: 10px 15px;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-size: 14px;
            width: 65%;
            margin-right: 10px;
            transition: border-color 0.3s;
        }

        #newUsername:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
        }

        #passwordDisplay {
            margin-top: 10px;
            color: var(--secondary-color);
            font-size: 14px;
            background: #f8f9fa;
            padding: 10px;
            border-radius: 6px;
            border-left: 3px solid var(--success-color);
        }

        #userList {
            max-height: 300px;
            overflow-y: auto;
            margin-top: 15px;
            border-radius: 6px;
            border: 1px solid #eee;
        }

        #userList > div {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 15px;
            border-bottom: 1px solid #eee;
            transition: background-color 0.2s;
        }

        #userList > div:hover {
            background-color: #f8f9fa;
        }

        #userList > div:last-child {
            border-bottom: none;
        }

        #userList button {
            padding: 6px 12px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.2s;
        }

        #userList button:first-child {
            background-color: var(--secondary-color);
            color: white;
            border: none;
            margin-right: 8px;
        }

        #userList button:first-child:hover {
            background-color: #2980b9;
        }

        #userList button:last-child {
            background-color: #e74c3c;
            color: white;
            border: none;
        }

        #userList button:last-child:hover {
            background-color: #c0392b;
        }

        /* 遮罩层 */
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 999;
            animation: fadeIn 0.3s ease-in-out;
        }

        /* 响应式设计 */
        @media (max-width: 768px) {
            .card {
                padding: 20px 15px;
            }

            .button {
                width: 100%;
                padding: 12px;
                font-size: 15px;
            }

            .button-group {
                flex-direction: column;
                gap: 8px;
            }

            th, td {
                padding: 12px 10px;
                font-size: 14px;
            }

            h1 {
                font-size: 24px;
            }

            .section-title {
                font-size: 16px;
            }
        }

        /* 动画效果 */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(15px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.03); }
            100% { transform: scale(1); }
        }

        @keyframes slideInFromRight {
            from { transform: translateX(50px); opacity: 0; }
            to { transform: translateX(0); opacity: 1; }
        }

        @keyframes slideInFromLeft {
            from { transform: translateX(-50px); opacity: 0; }
            to { transform: translateX(0); opacity: 1; }
        }

        .card {
            animation: fadeIn 0.5s ease forwards;
            opacity: 0;
        }

        .card:nth-child(2) { animation-delay: 0.15s; opacity: 0; }
        .card:nth-child(3) { animation-delay: 0.3s; opacity: 0; }

        .feature-block:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        }